/*     */ package com.hp.bon.sgw.bean;
/*     */ 
/*     */ import java.util.regex.Pattern;
/*     */ 
/*     */ public class SysParamBean
/*     */ {
/*  16 */   public static String KEY_AGREEMENT_DCC_CheckStrick = "agreement.dcc.strickcheck";
/*     */   public static final String KEY_BUSINESS_MAX_PROCESS = "business.max_process";
/*     */   public static final String KEY_BUSINESS_MIN_PROCESS = "business.min_process";
/*     */   public static final String KEY_BUSINESS_If_filter_Content = "business.if_filter_content";
/*     */   public static final String KEY_BUSINESS_max_conn = "business.max_conn";
/*     */   public static final String KEY_BUSINESS_reconnection = "business.reconnection";
/*     */   public static final String KEY_AGREEMENT_SCSP_TimeOut_Link = "agreement.scsp.timeout_link";
/*     */   public static final String KEY_AGREEMENT_SCSP_OutCount_Link = "agreement.scsp.outcount_link";
/*     */   public static final String KEY_AGREEMENT_SCSP_Timeout_DWR = "agreement.scsp.timeout_dwr";
/*     */   public static final String KEY_AGREEMENT_SCSP_OutCount_DWR = "agreement.scsp.outcount_dwr";
/*     */   public static final String KEY_AGREEMENT_SCSP_MSG_Timeout = "agreement.scsp.timeout_answer";
/*     */   public static final String KEY_AGREEMENT_SCSP_MSG_ResendTimes = "agreement.scsp.repetition_times";
/*     */   public static final String KEY_AGREEMENT_DCC_OutCount_Link = "agreement.dcc.timeout_linkwait";
/*     */   public static final String KEY_AGREEMENT_DCC_Timeout_DWR = "agreement.dcc.timeout_dwr";
/*     */   public static final String KEY_AGREEMENT_DCC_OutCount_DWR = "agreement.dcc.outcount_dwr";
/*     */   public static final String KEY_AGREEMENT_DCC_MSG_Timeout = "agreement.dcc.timeout_answer";
/*     */   public static final String KEY_AGREEMENT_DCC_MSG_ResendTimes = "agreement.dcc.repetition_times";
/*     */   public static final String KEY_AGREEMENT_Timeout_LinkWait = "sgw.dccqueue.timeout";
/*     */   public static final String KEY_AGREEMENT_OutCount_ErrorLogin = "agreement.all.outcount_errorlogin";
/*     */   public static final String KEY_AGREEMENT_Time_EnableLogin = "agreement.all.time_enablelogin";
/*     */   public static final String KEY_AGREEMENT_Congestion_Period = "agreement.congestion_period";
/*     */   public static final String KEY_AGREEMENT_Congestion_Msg_Per = "agreement.congestion_msg_per";
/*     */   public static final String KEY_AGREEMENT_Congestion_cpu_Per = "agreement.congestion_cpu_per";
/*     */   public static final String KEY_AGREEMENT_Congestion_mem_Per = "agreement.congestion_mem_per";
/*     */   public static final String KEY_AGREEMENT_Congestion_1000_MIN = "agreement.congestion_1000_min";
/*     */   public static final String KEY_AGREEMENT_Congestion_2100_MIN = "agreement.congestion_2100_min";
/*     */   public static final String KEY_AGREEMENT_Congestion_9999_MIN = "agreement.congestion_9999_min";
/*     */   public static final String KEY_AGREEMENT_Congestion_Prioriy_1000_MIN = "agreement.congestion_priority.1000";
/*     */   public static final String KEY_AGREEMENT_Congestion_Prioriy_2100_MIN = "agreement.congestion_priority.2100";
/*     */   public static final String KEY_AGREEMENT_SCSP_TIMEOUT_LINKWAIT = "agreement.scsp.timeout_linkwait";
/*     */   public static final String KEY_AGREEMENT_SOAP_TIMEOUT_LINKWAIT = "agreement.soap.timeout_linkwait";
/*     */   public static final String KEY_AGREEMENT_DCC_TIMEOUT_LINKWAIT = "agreement.dcc.timeout_linkwait";
/*     */   public static final String KEY_SYSTEM_Cpu_Threshold = "system.cpu_used";
/*     */   public static final String KEY_SYSTEM_Cpu_Threshold_High = "system.cpu_used_h";
/*     */   public static final String KEY_Business_priority_threshold = "business.priority_threshold";
/*     */   public static final String KEY_SYSTEM_Mem_Threshold = "system.mem_used";
/*     */   public static final String KEY_JVM_Mem_Threshold = "system.jvm_mem_used";
/*     */   public static final String KEY_AGREEMENT_Period_RequestCap = "agreement.period_requestcap";
/*     */   public static final String KEY_SYSTEM_Version = "system.version";
/*     */   public static final String KEY_SYSTEM_NECODE = "system.necode";
/*     */   public static final String KEY_SYSTEM_Sgw_Serrver_Name = "system.sgw_server_name";
/*     */   public static final String KEY_SYSTEM_Host_Server_Name = "system.host_server_name";
/*     */   public static final String KEY_SYSTEM_Host_IP = "system.ip";
/*     */   public static final String KEY_SYSTEM_DeployAddr = "system.deployaddr";
/*     */   public static final String KEY_SYSTEM_VENDOR = "system.vendor";
/*     */   public static final String KEY_SYSTEM_DR_ID = "system.dr_id";
/*     */   public static final String KEY_SYSTEM_NeTypeId = "system.ne_type_id";
/*     */   public static final String KEY_AGREEMENT_OutCount_RequestNoExistCap = "agreement.outcount_requestnoexistcap";
/*     */   public static final String KEY_LOG_LEVEL = "log.level";
/*     */   public static final String KEY_LOG_PATH = "log.path";
/*     */   public static final String KEY_LOG_SIZ = "log.size";
/*     */   public static final String KEY_LOG_ARCHIVE_PATH = "log.log_archive_path";
/*     */   public static final String KEY_SECURITY_ACTIVE_PASSWORD = "security.active_password";
/*     */   public static final String KEY_SECURITY_PUB_KEY_PERIOD = "security.pub_key_period";
/*     */   public static final String KEY_SECURITY_DES_KEY_PERIOD = "security.des_key_period";
/*     */   public static final String KEY_RECV_QUEUE_SIZE_WARNING_RATIO = "business.fluxctrl.receive_queue_per";
/*     */   public static final String KEY_SEND_QUEUE_SIZE_WARNING_RATIO = "business.fluxctrl.send_queue_per";
/*     */   public static final String KEY_BLACKLIST_PERIOD = "business.blacklist_period";
/*     */   public static final String KEY_BLACKLIST_COUNT = "business.blacklist_count";
/*     */   public static final String KEY_BLACKLIST_DURATION = "business.blacklist_duration";
/*     */   public static final String KEY_FLUXCTRL_LATENCY_T1 = "business.fluxctrl.latency_t1";
/*     */   public static final String KEY_FLUXCTRL_LATENCY_T2 = "business.fluxctrl.latency_t2";
/*     */   public static final String KEY_FLUXCTRL_LATENCY_WARN = "business.fluxctrl.latency_warn";
/*     */   public static final String KEY_IF_INSERT_T_MESSAGE_DETAIL = "insert_t_message_detail";
/*     */   public static final String KEY_OMC_REST_IP = "omc.rest.ip";
/*     */   public static final String KEY_OMC_REST_PORT = "omc.rest.port";
/*     */   public static final String REAL_TIME_EFFECTIVE = "realtime";
/*     */   public static final String REBOOT_EFFECTIVE = "reboot";
/*     */   private String name;
/* 300 */   private String effectiveType = "realtime";
/*     */   private String paramValueScope;
/*     */   private String valueRegex;
/*     */   private String recommendedValue;
/*     */   private String desc;
/*     */   private String effectiveTime;
/*     */   private String value;
/*     */   private String newValue;
/*     */   private String lastModifiedTime;
/*     */ 
/*     */   public String getName()
/*     */   {
/* 311 */     return this.name;
/*     */   }
/*     */ 
/*     */   public void setName(String name) {
/* 315 */     this.name = name;
/*     */   }
/*     */ 
/*     */   public String getEffectiveType() {
/* 319 */     return this.effectiveType;
/*     */   }
/*     */ 
/*     */   public void setEffectiveType(String effectiveType) {
/* 323 */     this.effectiveType = effectiveType;
/*     */   }
/*     */ 
/*     */   public String getParamValueScope() {
/* 327 */     return this.paramValueScope;
/*     */   }
/*     */ 
/*     */   public void setParamValueScope(String paramValueScope) {
/* 331 */     this.paramValueScope = paramValueScope;
/*     */   }
/*     */ 
/*     */   public String getRecommendedValue() {
/* 335 */     return this.recommendedValue;
/*     */   }
/*     */ 
/*     */   public void setRecommendedValue(String recommendedValue) {
/* 339 */     this.recommendedValue = recommendedValue;
/*     */   }
/*     */ 
/*     */   public String getDesc() {
/* 343 */     return this.desc;
/*     */   }
/*     */ 
/*     */   public void setDesc(String desc) {
/* 347 */     this.desc = desc;
/*     */   }
/*     */ 
/*     */   public String getEffectiveTime() {
/* 351 */     return this.effectiveTime;
/*     */   }
/*     */ 
/*     */   public void setEffectiveTime(String effectiveTime) {
/* 355 */     this.effectiveTime = effectiveTime;
/*     */   }
/*     */ 
/*     */   public String getValue() {
/* 359 */     return this.value;
/*     */   }
/*     */ 
/*     */   public void setValue(String value) {
/* 363 */     this.value = value;
/*     */   }
/*     */ 
/*     */   public String getNewValue() {
/* 367 */     return this.newValue;
/*     */   }
/*     */ 
/*     */   public void setNewValue(String newValue) {
/* 371 */     this.newValue = newValue;
/*     */   }
/*     */ 
/*     */   public String getLastModifiedTime() {
/* 375 */     return this.lastModifiedTime;
/*     */   }
/*     */ 
/*     */   public void setLastModifiedTime(String lastModifiedTime) {
/* 379 */     this.lastModifiedTime = lastModifiedTime;
/*     */   }
/*     */ 
/*     */   public String getValueRegex() {
/* 383 */     return this.valueRegex;
/*     */   }
/*     */ 
/*     */   public void setValueRegex(String paramValueScopeRegex) {
/* 387 */     this.valueRegex = paramValueScopeRegex;
/*     */   }
/*     */ 
/*     */   public boolean valiate(String newValue) {
/* 391 */     boolean val = true;
/* 392 */     if ((this.valueRegex != null) && (this.valueRegex.trim().length() != 0)) {
/* 393 */       val = Pattern.matches(this.valueRegex, newValue);
/*     */     }
/* 395 */     return val;
/*     */   }
/*     */ 
/*     */   public boolean validate() {
/* 399 */     return valiate(this.value);
/*     */   }
/*     */ }

/* Location:           C:\Users\think\Desktop\sgw_2.1.jar
 * Qualified Name:     com.hp.bon.sgw.bean.SysParamBean
 * JD-Core Version:    0.6.1
 */